package com.example.authservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.authservice.pojo.po.HotelPO;
import com.example.authservice.pojo.vo.HotelVO;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2023/4/11 17:18
 */
public interface HotelService {
    HotelPO selectOneById(String id);
    HotelVO add(HotelVO hotelVO);
    HotelVO selectOneByIdReturnVO(String id);
    HotelVO save(HotelVO hotelVO);
    Integer deleteById(String id);

    HotelVO selectOneByDeptId(String deptId);

    Page<HotelVO> getPage(HotelVO hotelVO);

    HotelVO myHotel();

    HotelVO allow(String hotelId,Integer id );
}
